﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="SectorEmp.aspx.cs" Inherits="SectorEmpresarial_SectorEmp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>Sectores Empresarial</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <h1>Sectores Empresariales</h1>
   
<form id="form1" runat="server">
 <asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
            
                 <table width="100%" border="0">
                    <tr>
                        <td width="5%"><div align="left" style="width: 48px">
                            <asp:Label ID="Label1" runat="server" Text="Nombre"></asp:Label></div></td>
                        <td width="21%">
                        <asp:TextBox ID="TextBoxNombreSec" runat="server" Width="140px"></asp:TextBox>
                        <asp:DropDownList  ID="DropDownListSectores" runat="server">
                            </asp:DropDownList>
                         <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                ErrorMessage="Caracteres no validos" ControlToValidate="TextBoxNombreSec" 
                                ValidationExpression="[a-zA-Z_0-9áéíóúÁÉÍÓÚ .]+" Display="Dynamic"></asp:RegularExpressionValidator>
                            
                            
                            
                        </td>
                        <td>
                            <asp:Button ID="ButtonReg" runat="server" CssClass="button" Height="28px" 
                                Text="Registrar" onclick="ButtonReg_Click" />
                        </td>
                        </table>
                        </tr>
                        <table width="100%" border="0">
                                               
                     <tr>
                        <td width="20%">
                            <asp:Button ID="ButtonRegSector" runat="server" Text="Nuevo registro" 
                                CssClass="button" Height="28px" Width="119px" 
                                onclick="ButtonRegSector_Click" />
                            <asp:Button ID="ButtonBuscar" runat="server" CssClass="button" Height="28px" 
                                onclick="ButtonBuscar_Click" Text="Buscar" />
                         </td>
                        <td>
                            <asp:Button ID="ButtonElim" runat="server" CssClass="button" Height="28px" 
                                Text="Eliminar" onclick="ButtonElim_Click" />
                            <asp:Button ID="ButtonMod" runat="server" CssClass="button" Height="28px" 
                                Text="Modificar" onclick="ButtonMod_Click" />
                         </td>
                         
                       
                    </tr>
                    
                    
                    
                    
                </table>
                
            </ContentTemplate>
        </asp:UpdatePanel>
    
   
    
    
    <div>
        
        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
            <ContentTemplate>
                  <table width="100%" border="0">
                    <tr>
                        <td width="21%">
                            <asp:Label ID="Notificacion" runat="server" Text=""></asp:Label>
                            <asp:Button ID="ButtonSi" runat="server" Text="Si" CssClass="button" 
                                Height="26px" Width="31px" onclick="ButtonSi_Click" />
                            <asp:Button ID="ButtonNo" runat="server" Text="No" CssClass="button" 
                                Height="26px" Width="31px" onclick="ButtonNo_Click" />
                            <asp:TextBox ID="TextBoxModSE" runat="server"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                ErrorMessage="Caracteres no validos" ControlToValidate="TextBoxModSE" 
                                ValidationExpression="[a-zA-Z_0-9áéíóúÁÉÍÓÚ .]+" Display="Dynamic"></asp:RegularExpressionValidator>
                            
                            <asp:Button ID="ButtonModGuardar" runat="server" Text="Guardar" 
                                CssClass="button" Height="28px" onclick="ButtonModGuardar_Click" />
                            <asp:Button ID="ButtonModCancelar" runat="server" CssClass="button" Height="28px" 
                                Text="Cancelar" onclick="ButtonModCancelar_Click" />
                        
                         
                       
                            
                            
                                                     
                       
                    </tr>
                    
                    
                    
                    
                </table>
      
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    
    </form>
    

</asp:Content>

